package net.vkits.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import net.vkits.common.BaseModel;

import java.math.BigDecimal;

/**
 * 设备信息
 **/

/**
 * 设备信息
 */
@ApiModel(description = "设备信息")
public class DeviceDTO extends BaseModel {
    // 友盟设备ID
    private String umDeviceToken = null;
    // 设备类型
    private String mobileType = null;
    // 设备分辨率
    private String resolution = null;
    // 系统版本
    private String sysVersion = null;
    // 操作系统类型
    private String os = null;
    // 渠道信息
    private String channel = null;
    // App信息
    private String appInfo = null;
    // 经度
    private BigDecimal lng = null;
    // 纬度
    private BigDecimal lat = null;

    public DeviceDTO umDeviceToken(String umDeviceToken) {
        this.umDeviceToken = umDeviceToken;
        return this;
    }

    /**
     * 友盟设备ID
     * @return umDeviceToken
     **/
    @ApiModelProperty(value = "友盟设备ID")
    public String getUmDeviceToken() {
        return umDeviceToken;
    }

    public void setUmDeviceToken(String umDeviceToken) {
        this.umDeviceToken = umDeviceToken;
    }

    public DeviceDTO mobileType(String mobileType) {
        this.mobileType = mobileType;
        return this;
    }

    /**
     * 设备类型
     * @return mobileType
     **/
    @ApiModelProperty(value = "设备类型")
    public String getMobileType() {
        return mobileType;
    }

    public void setMobileType(String mobileType) {
        this.mobileType = mobileType;
    }

    public DeviceDTO resolution(String resolution) {
        this.resolution = resolution;
        return this;
    }

    /**
     * 设备分辨率
     * @return resolution
     **/
    @ApiModelProperty(value = "设备分辨率")
    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    public DeviceDTO sysVersion(String sysVersion) {
        this.sysVersion = sysVersion;
        return this;
    }

    /**
     * 系统版本
     * @return sysVersion
     **/
    @ApiModelProperty(value = "系统版本")
    public String getSysVersion() {
        return sysVersion;
    }

    public void setSysVersion(String sysVersion) {
        this.sysVersion = sysVersion;
    }

    public DeviceDTO os(String os) {
        this.os = os;
        return this;
    }

    /**
     * 操作系统类型
     * @return os
     **/
    @ApiModelProperty(value = "操作系统类型")
    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public DeviceDTO channel(String channel) {
        this.channel = channel;
        return this;
    }

    /**
     * 渠道信息
     * @return channel
     **/
    @ApiModelProperty(value = "渠道信息")
    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public DeviceDTO appInfo(String appInfo) {
        this.appInfo = appInfo;
        return this;
    }

    /**
     * App信息
     * @return appInfo
     **/
    @ApiModelProperty(value = "App信息")
    public String getAppInfo() {
        return appInfo;
    }

    public void setAppInfo(String appInfo) {
        this.appInfo = appInfo;
    }

    public DeviceDTO lng(BigDecimal lng) {
        this.lng = lng;
        return this;
    }

    /**
     * 纬度
     * @return lng
     **/
    @ApiModelProperty(value = "纬度")
    public BigDecimal getLng() {
        return lng;
    }

    public void setLng(BigDecimal lng) {
        this.lng = lng;
    }

    public DeviceDTO lat(BigDecimal lat) {
        this.lat = lat;
        return this;
    }

    /**
     * 经度
     * @return lat
     **/
    @ApiModelProperty(value = "经度")
    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }
}
